#!/bin/bash
SCRIPT_DIR=$(dirname $(readlink -e $0))
. $SCRIPT_DIR/image

set -x
pushd $SCRIPT_DIR/../
mvn install:install-file -Dfile=./libs/kmx-sdk-0.0.1-SNAPSHOT.jar -DgroupId=com.k2data.platform -DartifactId=k2platform-ddm-sdk -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar
mvn -f ../pom.xml clean package -pl k2cnpca10-consumer -am -DskipTests
popd
